package cn.edu.lsu.integratedsurvey.service;

import cn.edu.lsu.integratedsurvey.bean.History;
import cn.edu.lsu.integratedsurvey.bean.dto.DataEntryDto;
import cn.edu.lsu.integratedsurvey.bean.dto.GetHistoryDto;
import cn.edu.lsu.integratedsurvey.bean.vo.HistoryInfoVo;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * @author Jasmine-drs
 * @description 针对表【history(综测历史记录表)】的数据库操作Service
 * @Date 2024-05-01 19:41:28
 */
public interface HistoryService extends IService<History> {

    /**
     * 获取学生综测记录
     *
     * @param getHistoryDto 查询体
     * @return 分页对象
     */
    Page<HistoryInfoVo> getHistories(GetHistoryDto getHistoryDto);

    /**
     * 更新学生综测记录
     *
     * @param dataEntryDto 数据传输对象
     */
    void updateStudent(DataEntryDto dataEntryDto);

    void deleteHistory(String studentNumber);

    void batchUpdateStudent(List<DataEntryDto> dataEntryDtoList);
}
